<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加页面</title>
</head>
<body>
<div style="text-align: center;">
    <fieldset>
        <legend>修改学生信息</legend>
        <form th:action="@{/student/update}" method="post">
            <input type="hidden" name="id" th:value="${student.id}"/>
            <label>学生姓名：<input type="text" name="name" placeholder="姓名" th:value="${student.name}"/></label>
            <input type="submit" value="修改">
        </form>
    </fieldset>
</div>
</body>